<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<h1>用户登录</h1>
<form action="loginchk" method="get">
用户名:<input type="text" name="username" value='' ><br />
密码:<input type="password" name="password" value="" ><br />
<input type="submit" value="登录" />
</form>

<a href="register">注册</a>

</body>
</html>